﻿IF EXISTS (SELECT * from sys.procedures p left join sys.schemas s on p.schema_id = s.schema_id where p.name='operation_delete' and s.name='Budget')
DROP PROCEDURE [Budget].operation_delete
GO
CREATE PROCEDURE [Budget].operation_delete 
@PK uniqueidentifier
AS
BEGIN
DELETE FROM 
	[Budget].[Operations]
WHERE
	[Operations].[id_schedule] = @PK 
END